﻿package com.events {
	
	import flash.events.TimerEvent;
	
	public class TweenEvent extends TimerEvent {
		
		public static const TWEEN_UPDATE:String = "tweenUpdate";
		public static const TWEEN_END:String = "tweenEnd";
		
		private var _value:*;
		private var _afected:*;
		
		/**
		 * TweenEvent	Construtor
		 * @param		type
		 * @param		value Valor atual da interpolação
		 */
		public function TweenEvent (type:String, value:*, afected:*) {
			super (type);
			this._value = value;
			this._afected = afected;
		}
		
		public function get value ():* {
			return this._value;
		}
		
		public function get afected():* { return _afected; }
		
	}
	
}